package com.ih.service.impl;

import com.ih.mapper.InventoryMapper;
import com.ih.pojo.Inventory;
import com.ih.service.InventoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName InventoryServiceImpl
 * @Description
 * @Author xiaozhang
 * @date 2023-05-07
 */
@Service
public class InventoryServiceImpl implements InventoryService {
    @Autowired
    private InventoryMapper inventoryMapper;
    @Override
    public List<Inventory> listInventory() {
        return inventoryMapper.listInventory();
    }
}
